package com.tourism.home.entity;

/**
 * @author xiaolen
 * time:2018/4/1 10:10
 */
public class Comment {
    private int id;
    private Integer pid;
    private String content;
    private int commentator;
    private String plz;
    private String bplz;
    private int becommented;
    private String createtime;
    private String status;
    private String type;


    public Comment() {
    }

    public Comment(int id, String content, int commentator, int becommented, String createtime) {
        this.id = id;
        this.content = content;
        this.commentator = commentator;
        this.becommented = becommented;
        this.createtime = createtime;
    }

    public Comment(int id, Integer pid, String content, String plz, String bplz, String createtime) {
        this.id = id;
        this.pid = pid;
        this.content = content;
        this.plz = plz;
        this.bplz = bplz;
        this.createtime = createtime;
    }

    public Comment(int id, Integer pid, String content, int commentator, String plz, String bplz, int becommented, String createtime, String status, String type) {
        this.id = id;
        this.pid = pid;
        this.content = content;
        this.commentator = commentator;
        this.plz = plz;
        this.bplz = bplz;
        this.becommented = becommented;
        this.createtime = createtime;
        this.status = status;
        this.type = type;
    }

    public void setBplz(String bplz) {
        this.bplz = bplz;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public void setPlz(String plz) {
        this.plz = plz;
    }

    public Integer getPid() {
        return pid;
    }

    public String getBplz() {
        return bplz;
    }

    public String getPlz() {
        return plz;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getCommentator() {
        return commentator;
    }

    public void setCommentator(int commentator) {
        this.commentator = commentator;
    }

    public int getBecommented() {
        return becommented;
    }

    public void setBecommented(int becommented) {
        this.becommented = becommented;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getStatus() {
        return status;
    }

    public String getType() {
        return type;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setType(String type) {
        this.type = type;
    }
}
